Bentley Raceway and Cable Management CONNECT Edition Help

Integer Colors

You can change an element's color by setting any of the color assignment keywords to an integer value, where integer is a color index in the range from 0 to 255. Each color index represents a color in the active color table.

Syntax:

color = integer

boundary_color = integer

fill_color = integer

For example, to change the color of lines on level 3 to color index 2, you can write the following design script:

! 
! Change the color of all lines on level 3
! to color index 2.
!
if ((type eq line) and (level eq 3)) then        
	 color = 2 
endif